Delete unnecessary lines.