code: function (filters, tpl) {
        for (var i = 0; i < filters.length; ++i) {
          tpl = filters[i](tpl)
        }
        return tpl
      }
docs: TODO:: Remove this duplicate function. Apply the filters to template.