Customizing code generation