Improved encapsulation for map elements data.