Use configurable domain classes