Let's add a TODO to delete this block of code when sessionRestore gains wide adoption.