Moving reserved logic from tokenizer