Added save support for map elements.