protected override IEnumerable<object> DoGetAllInstances(Type serviceType) { return container.GetAllInstances(serviceType).Cast<object>(); }