Add missing default and type values to code generation.