protected function getSelectedAttributes(Builder $builder)
    {
        $selected = $builder->getSelects();

        return array_merge($selected, [
            $builder->getSchema()->memberOf(),
        ]);
    }