Add support for templates on all tag types