Switch to maps for token representation.