public function getEditPermalink($object_type = null)
    {
        // WordPress get_edit_term_link requires an object_type
        // but if this object was created by \Taco\Post::getTerms
        // then it will have an object_id, which also works
        if (is_null($object_type)) {
            $object_type = $this->get('object_id');
            if (!$object_type) {
                throw new \Exception('No object_type nor object_id');
            }
        }
        return get_edit_term_link(
            $this->get('term_id'),
            $this->getTaxonomyKey(),
            $object_type
        );
    }