StringTemplate,snapshot: Implementation.