Add function to revert changes to the pickle dispatch table