Fix DocumentRepository to fit ObjectRepository interface