docs: function (isGlobal, server, err, msg, session, resp, opts, cb) {
    let fm;
    if (isGlobal) {
      fm = server.globalFilterService;
    } else {
      fm = server.filterService;
    }
    if (fm) {
      if (isGlobal) {
        fm.afterFilter(err, msg, session, resp, function () {
          // do nothing
        });
      } else {
        fm.afterFilter(err, msg, session, resp, function (err) {
          cb(err, resp, opts);
        });
      }
    }
  }