Cleaning up ouput.