Change template rendering to freemarker.