Trying to clean up how slicing is performed.