protected function addDocumentToSet(DMSDocument $document, DMSDocumentSet $set)
    {
        if ($this->isDryrun()) {
            return $this;
        }

        $set->Documents()->add($document);
        return $this;
    }