Move token methods to tokenizer