removes Lexer class