Remove unnecessary codegen