Make restoring from snapshots more efficient.