Adding map object.
Saving state.