Added support for unwrapping templates (a template that refers to one or more other templates by name).