Removing deprecated keywords from lexer.