Cleanup output.