Use closures intead class tokenizer to namespace tokenize