Remove unnecessary string copying (generic) in DispatchGroup.