Lexer and Reflector optimized & fixed some bugs.