Improve #wipe codegen