Removes unpatch functions.