public function remove($name, ItemInterface $item)
    {
        unset($this->relationships[$name][$item->getId()]);

        if (count($this->relationships[$name]) === 0) {
            unset($this->relationships[$name]);
        }
    }