docs: function(record, extraNames) {
        var fieldNames = record.getFields().map(function (field) {
          return field.getName();
        });
  
        if (extraNames) {
          fieldNames = fieldNames.concat(extraNames);
        }
        return fieldNames;
      }