public function getStorageFactory(): ?Factory
    {
        if (!$this->hasStorageFactory()) {
            $this->setStorageFactory($this->getDefaultStorageFactory());
        }
        return $this->storageFactory;
    }