Make Map class constructor protected.