Replace enableSliceCreation/removeSliceCreation with a single setSliceMax function.