@Override public TemplateModel get(String key) throws TemplateModelException { if (key.equals("ext")) { return extParams; } else { return object.get(key); } }
@Override public boolean isEmpty() throws TemplateModelException { return object.isEmpty() && extParams.isEmpty(); }