Remove extra newlines.