simplifying the lexer interface.