protected function groups($model) { return $this->hasMany($model, 'Flarum\\Api\\Serializer\\GroupSerializer'); }