Chop off newlines.