public function getTeamsFromTeamSet($teamSetId)
    {
        require_once('modules/Teams/TeamSetManager.php');
        $teams = \TeamSetManager::getTeamsFromSet($teamSetId);

        // Fetch more details from the team
        foreach ($teams as $key => $team) {
            $teamFields = $this->sugarBean->getBean('Teams', $team['id'])->fetched_row;
            $teams[$key] = array_merge($team, $teamFields);
        }

        return $teams;
    }