Better handling of newlines.