Remove superfluous lines.