Added __self__ and __getitem__ methods to the Map.