Added an interface for Document-based databases