Remove extraneous print statements and functions.