avoid generated template_instruction being unnecessarily reinitialized.