Allow saving/restoring sessions.