I think that is preferible to keep the `key` from `Ref key e` as the key for the map, since otherwise we need to provide the `e` type while declaring the map. And it can't be static! That would lead us to heterogeneous collections again and I think is preferible to avoid it by now.