Prevented crashes in SaveManager.