docs: function filterActions(items) {
      let result = [];
      // We have to include only actions that include a render template. Ignore all others.
      items.forEach((actionObj) => {
        if (!actionObj.renderTemplates) return;  //no rendering
        let templates = actionObj.renderTemplates;
        // check if any error
        if (templates.error.length > 0 || templates.success || Object.keys(templates.all).length > 0) {
          result.push(actionObj);
        }
      });
      if (opt.actions == null) return result; // no filters.
  
      let filtered = [];
      // TODO: apply filter
      return filtered;
    }