Remove unnecessary comments and spaces.