Cleaning up lexer.