Index SplObjectStorage by index instead of by hash.