Added persistent storage for locally added documents.