Adds comments and removes print statements.