exposed registerDependency in container