Added getMap() method.