anchor.diff:        CLEAR <ls_element>-obj_type_group.
       ENDLOOP.
   
  -*    LOOP AT ls_otgr-parents ASSIGNING <ls_parent>.
  -*      " Not necessary as we serialize only Active
  -*      CLEAR <ls_parent>-activation_state.
  -*      " Not necessary as we have it in the root XML node
  -*      CLEAR <ls_parent>-obj_type_group.
  -*    ENDLOOP.
  -
       io_xml->add( iv_name = 'OTGR'
                    ig_data = ls_otgr ).
  +
  +    IF <lt_parents> IS ASSIGNED.
  +      LOOP AT <lt_parents> ASSIGNING <ls_parent>.
  +        ASSIGN COMPONENT 'ACTIVATION_STATE' OF STRUCTURE <ls_parent> TO <lv_field>.
  +        IF sy-subrc = 0.
  +          " Not necessary as we serialize only Active
  +          CLEAR <lv_field>.
  +        ENDIF.
  +        ASSIGN COMPONENT 'OBJ_TYPE_GROUP' OF STRUCTURE <ls_parent> TO <lv_field>.
  +        IF sy-subrc = 0.
  +          " Not necessary as we have it in the root XML node
  +          CLEAR <lv_field>.
  +        ENDIF.
  +      ENDLOOP.
  +
  +      io_xml->add( iv_name = 'PARENTS'
  +                   ig_data = <lt_parents> ).
  +    ENDIF.
  +
     ENDMETHOD.
   ENDCLASS.
  
positive.code:     TRY.
          lo_otgr->if_cls_object_type_group~set_proxy_filter( ls_otgr-cls_type_group-proxy_flag ).
          lo_otgr->if_cls_object_type_group~set_elements( ls_otgr-elements ).
  *        lo_otgr->if_cls_object_type_group~set_parent_groups( ls_otgr-parents ).
  
          lv_masterlang = lo_otgr->if_pak_wb_object~get_master_language( ).
          READ TABLE ls_otgr-texts WITH KEY langu = lv_masterlang ASSIGNING <ls_groupt>.
          IF sy-subrc = 0.
            lo_otgr->set_description( <ls_groupt>-text ).
          " ELSE.
          "   Do we want to clear the master language description if not present in the XML conent?
          "   Master Language is non-deterministic - it depends on sy-langu, so rather don't touch
          "   description if the master language is not present
          "   Perhaps, we can display some sort of a message but how?
          ENDIF.
  
          set_default_package( iv_package ).
  
          lo_otgr->if_pak_wb_object~save( ).
  
  
          lo_otgr->if_pak_wb_object~activate( ).
          lo_otgr->unlock( ).
  
negative.code: 
  
    METHOD zif_abapgit_object~delete.
      DATA: lo_otgr      TYPE REF TO cl_cls_object_type_group,
            lx_pak_error TYPE REF TO cx_root,
            lv_text      TYPE string.
  
      lo_otgr = instantiate_and_lock_otgr( ).
  
  