Create group representation classes for use with save_groups()