Adding a map cache interface.