Added support for custom DIC initializers