Support configurable token domain classes