Made map cacheable.