Removes comments and scratch paper code.