Upated parser and lexer interfaces.