Simplified the DocumentStore abstraction.