This exception and the default value for `slices` needs to be documented.