private function loadCollections(PersistenceBlock $block): Generator
    {
        $collectionReferences = $this->blockHandler->loadCollectionReferences($block);

        foreach ($collectionReferences as $collectionReference) {
            yield $collectionReference->identifier => $this->collectionHandler->loadCollection(
                $collectionReference->collectionId,
                $collectionReference->collectionStatus
            );
        }
    }