Use DomainClass.create() instead of newInstance() to allow dependencies to be injected