docs: function PAPI(clientOpts) {
      /*
       * At one time, the `PAPI` export was not written to be a constructor,
       * so usage was:
       *      var client = PAPI(...);
       * We want to move to the preferred:
       *      var client = new PAPI(...);
       * without breaking the old usage.
       */
      if (!(this instanceof PAPI)) {
          return new PAPI(clientOpts);
      }
  
      assert.object(clientOpts, 'clientOpts');
      assert.string(clientOpts.url, 'clientOpts.url');
      assert.optionalObject(clientOpts.contentMd5, 'clientOpts.contentMd5');
  
      // JSSTYLED
      // Per https://github.com/joyent/triton/blob/master/docs/developer-guide/coding-guidelines-node.md#restify-clients-contentmd5-option
      if (!clientOpts.contentMd5) {
          clientOpts.contentMd5 = {
              encodings: ['utf8', 'binary']
          };
      }
  
      if (!clientOpts['X-Api-Version']) {
          clientOpts['X-Api-Version'] = '~7.0';
      }
  
      this.client = restifyClients.createJsonClient(clientOpts);
  
      return undefined;
  }