docs: function(type, value, pref) {
      this.id = null;
      this.type = (type && type.toString()) || null;
      this.value = (value && value.toString()) || null;
      this.pref = (typeof pref != 'undefined' ? pref : false);
  }