Remove excess newlines.