They should instead be called saveState() and restoreState()
We should also consider renaming PlanExecutor::getStages() to PlanExecutor::getRootStage().