Renames groups -> wrappedGroups.