Removes unneeded comments and methods