[dml-compiler] DomainObjectAllocator no longer relies on specially injected constructors