@Override
protected void setupDefaultFunctions() {
super.setupDefaultFunctions();
// Structure functions.
registerFunction("subcount", new SubcountFunction());
registerFunction("first", new FirstFunction());
registerFunction("last", new LastFunction());
// Deprecated - but here for ClearSilver compatibility.
registerFunction("len", new SubcountFunction());
// Numeric functions.
registerFunction("abs", new AbsFunction());
registerFunction("max", new MaxFunction());
registerFunction("min", new MinFunction());