Handling of newlines