public function removeDocumentFromDocumentPool(Document $document) { unset($this->documentPool[(string) $document]); return $this; }