Clean up output.py.