Added freemarker processing.