Add an invalidation handler option to LRMap.