docs: function(values) {
        Object.keys(values).forEach(function(name) {
          this.find("[name='" + name + "']").each(function() {
            if (this.is("textarea")) {
              this.text(values[name]);
            } else if (this.is("select")) {
              this.find("option[value='" + values[name] + "']")
                .attr("selected","selected");
            } else {
              this.attr("value",values[name]);
            }
          });
        }.bind(this));
        return this;
      }