Fix SmartyTemplateMapResolverFactory