In process of moving IInjectionDefinitionRegistry to IInstanceRegistry