Renamed delete to delete_index according to others API