Improved on the error messages in the parser.