docs: function (name, contents, hash) {
      var deferred = Q.defer();
      this.events.emit('driver:message', {key: 'setCookie', value: name, contents: contents, uuid: hash, hash: hash});
      deferred.resolve();
      return deferred.promise;
    }