Use more constants and defines for generated code.