CORE-4767: Added a description of the restoration logic.