public function remove($entity)
    {
        //Get meta information
        $meta = $this->getMeta($entity);

        //Get a hash of this entity
        $hash = $this->getHash($entity);

        if($meta instanceof NodeMeta)
        {
            $this->nodeEntitiesToRemove[$hash] = $entity;
        }

        else
        {
            $this->relationEntitiesToRemove[$hash] = $entity;
        }
    }