Use delegate for relation_delegate_class