fix codegen for changes to apply() for call overloading
temporarily restore inference/startup performance