Cleaning up output statements.