Fixed $this->container is not synced across kernel rebuilds.