The container is required anyway because it needs to grab the instance of the registered provider further up (line 38).