Replace deprecated team.name