Support classes for using MarkupTemplateEngine from Spring