Add slice support to __getitem__().