Update to remove unnecessary lines.