What's the commented out code for? Deserves a TODO, or some other comment, or deletion?

Above is impressive freemarker coding!