Remove dead code in token enumerator