Rewrite of adapt-contrib-wipe