Created DeleteTask which calls the new Datasource method deleteObject(E objectToDelete).