def METHOD_NAME(self):
    if self.type_id in ['wg','ag']:
        return GroupFactory(type_id='area')
    elif self.type_id in ['rg','rag']:
        return GroupFactory(acronym='irtf', type_id='irtf')
    else:
        return None