docs: function (providerConstr, args) {
      return new Promise(function (resolve) {
          var instance = new providerConstr();
          addInstanceToStore(args, instance);
          createGetData(instance, args.caller);
          if (args.hasOwnProperty("handler")) {
              instance.setHandler(args.handler);
          }
          if (args.hasOwnProperty("resources")) {
              instance.setResources(args.resources);
          }
          instance.fetchData(resolve, args.caller);
      });
  }