docs: function (write, refresh, callback) {
    return function (err, result) {
      if (! err) {
        // XXX We don't have to run this on error, right?
        refresh();
      }
      write.committed();
      if (callback)
        callback(err, result);
      else if (err)
        throw err;
    };
  }