exts.freemarker: add freemarker extension classes