Remove superfluous newlines.