Rename config in codegen.