DataMap.__getitem__ now raises an IndexError if the given index is not valid (this allows direct iteration over the object).