Support full recursive sub-templating and sub-svgs.