private function getTaxonomyQuery()
    {
        $t = $this->taxonomies();

        return $t->newPivotStatement()
            ->where($t->getForeignKey(), $this->getKey())
            ->where($t->getMorphType(), $t->getMorphClass());
    }