In fact, let's get rid of the whole array thing and make it a hash.
I'll stop messing with core data structures now, I promise.