Updated code generation template files