Make Item class subscriptable