Get rid of extraneous lines.