t660: add module_start/end tag to generated template.