Change names of the functions from eid_cache to map_cache