in factory registration allow resolving types from the DI system