code: function createInstance() {
      var instance = { publish: publish, subscribe: subscribe, close: close };
      instance.__defineGetter__("value", function () { return shared; });
      return instance;
    }
docs: /*
  Factory methods.