add freemarker support