Added support for $rootpath keyword in templates.