Added parse error reporting.