Updating: handling recursive templates.