Moved Helper.getTeam method into GameMode class