Removing unnecessary lines.