Update to use slice notation.