docs: function (args) {
      var argsLength = args.length;
      var convertedArgs = {
          provider : resolveBaseLogicalPathResource(args[0], args[1]),
          caller : args[2]
      };
      if (argsLength > 3) {
          convertedArgs.onLoad = args[3];
      }
      if (argsLength > 4) {
          convertedArgs.handler = args[4];
      }
      if (argsLength > 5) {
          var resources = [];
          for (var i = 5; i < argsLength; i++) {
              resources.push(args[i]);
          }
          convertedArgs.resources = resources;
      }
      return convertedArgs;
  }