Fixed issues with newline parsing.