Removes extraneous print statements