docs: function genService(methods) {
          var service = {};
  
          for (var methodName in methods) {
              if (methods.hasOwnProperty(methodName)) {
                  service[methodName] = genServiceMethod(methods[methodName]);
              }
          }
  
          return service;
      }