Make new lexer/parser handle multiple classes.