Remove empty unnecessary lines.