Refactor unicode lexer so we can share all code between the two implementations.
Remove unused constructor.