Remove some unneeded lines.