method is renamaed to deleteDocuments and ids parameter is renamed to documentIds