Remove some trailing lines.