package no.cantara.ratpack.freemarker;

import java.util.HashMap;

public class FreemarkerModel extends HashMap<String, Object> {
    private final String template;

    public FreemarkerModel(String template) {
        this.template = template;
    }

    public FreemarkerModel(String template, HashMap<String, Object> map) {
        this(template);
        putAll(map);
    }

    public String getTemplate() {
        return template;
    }
}

@@ -58,16 +58,38 @@
 HashMap;
+%0Aimport java.util.Map;
 %0A%0Apublic
@@ -312,20 +312,16 @@
 mplate, 
-Hash
 Map%3CStri

Use Map parameter type rather than Hashmap.