Actually remove the patch functions.