Upgraded to StringTemplate4. refs #413