Renames the group directive to team.
Refactoring to replace group with team.