Update to the latest version of FreeMarker: http://freemarker.org/docs/versions_2_3_20.html
Also set the compatibility base to v2.3.20 so we get the latest rules from the start.