Renamed delete to deleteOffline to avoid using a reserved word