docs: function transform(name, params) {
    if (name == null) {
      throw new Error('transform without name');
    }
  
    var transformList = [name];
    if (params != null) {
      transformList.push(params);
    }
  
    return {'document-transform': transformList};
  }