Support configurable domain classes