Remove codegen macro and use it directly.