code: function helpDefine(_api, _name, _fun) {
        var api = APIS[_api];
  
        Utils.assert(!!api, 'Invalid api name $1', _api);
  
        if(_name) {
          api[_name] = Utils.override(api[_name], _fun);
        } else {
          Utils.extendOverriden(api, _fun);
        }
      }
docs: helper used to extend api's