docs: function (name, value) {
              if (value == null) { // null or undefined
                  return this.removeParam(name);
              }
              if (this._params == null) {
                  this._params = [];
              }
              for (var i = 0, length = this._params.length; i < length; i++) {
                  var elt = this._params[i];
                  if (elt.name === name) {
                      elt.value = encodeURIComponent(value);
                      return;
                  }
              }
              this._params.push({
                  name : name,
                  value : encodeURIComponent(value)
              });
          }