registries.add(registerCustomTags(templates));
// User-defined libraries - Priority 4
loadTemplateLibraries(gadget.getContext(), f, registries, libraries);
TagRegistry registry = new CompositeTagRegistry(registries);
TemplateContext templateContext = new TemplateContext(gadget, content.getPipelinedData());
boolean needsFeature = executeTemplates(templateContext, content, templates, registry);
// Check if a feature param overrides our guess at whether the client-side