Improvements in Tokenizer. Don't initialize multiple times when the environment does not change.