Added extensions to lexer