Added restoring.