public function removeNodeFromPublicWorkspace(RemoveEvent $event)
    {
        $document = $event->getDocument();
        $metadata = $this->metadataFactory->getMetadataForClass(get_class($document));
        if (!$metadata->getSyncRemoveLive()) {
            return;
        }

        $this->getLiveNode($document)->remove();
    }