}
public static String extendBy(StringTemplateGroup group, Message extend, Message by) throws IOException
{
StringWriter stringer = new StringWriter(16);
NoIndentWriter out = new NoIndentWriter(stringer);
StringTemplate messageBlock = group.getInstanceOf("extend_by");
messageBlock.setAttribute("message", extend);
messageBlock.setAttribute("by", by);
messageBlock.write(out);