Caching for Map implemented.