docs: function callPageHook(name, output, page) {
      return callHook(
          name,
  
          function(out) {
              return Api.encodePage(out, page);
          },
  
          function(out, result) {
              return Api.decodePage(out, page, result);
          },
  
          output
      );
  }