Removes puts which is outputting XML.