Implement LocalDocs related methods of Database