stronger plugin support for template