public function replace(UnitOfWork $replacement)
    {
        parent::replace($replacement);

        $this->connection->execute(
            sprintf("DELETE FROM %s WHERE unique_id = ?", $this->tableName),
            array (
                $replacement->getUniqueId(),
            )
        );
        unset($this->presentUidsOnConstruction[$replacement->getUniqueId()]);
    }