CLN: Refactor internal functions to use _axis_slice