Enhanced to delete a group.