Set sliceOrDice private function as a `var` to actually be private.