[Numpy-discussion] Allow __getitem__ to support custom objects