New API: available-all-groups to return list of all optional groups.