Add enums to freemarker views