Remove unnecessary outputs from all codes.
Remove unnecessary outputs from all codes.