private function wherePivotTagIn(MorphToMany $q, $tags = [])
    {
        method_exists($q, 'wherePivotIn') ? $q->wherePivotIn('tag', $tags) : $q->whereIn($this->media()->getTable().'.tag', $tags);
    }