Reduce codegen: generic handler EFun classes