private function unflaggedIndex() { return Topic::unflagged()->active()->get()->map(function ($topic) { return new ApiTopic($topic); }); }