Clean up output.