Add support for sub-svg templating.