adds Freemarker template support