Restore the function.