Added basic accessor functions to the `Map` class.