Added IContainerRegistry[T] to allow access to the container