Should we allow null callbacks? You're passing the `getSlice` callback as the first argument, but actually it's the second one.