Remove some unnecessary lines.