Replace functions with ones that succeed or die