Custom tokenizer with depth checking. w00t.