Replaced Model class with simple map.