Implemented getTeams().