Decouple Lexer from class BBM;