Added map dump and load methods.