Tried to work around missing __getitem__