Remove unnecessary and commented out lines.