def METHOD_NAME(self, *group_names: str) -> None:
    """Remove groups from group."""
    d = self._REGISTRY._groups
    for group_name in group_names:
        grp = d[group_name]
        self._used_groups.remove(group_name)
        grp._used_by.remove(self.name)
    self.invalidate_members()