I think getPersonAttributeGroupStoreDefinitionByName and getPersonAttributeGroupStoreDefinitions should return  IPersonAttributeGroupStoreDefinition objects.