improvements to code generation files