Tweak session saving.