Added support for isset($tag->defaultTemplate)