Well this rewrite tries to leverage GC over manual cleanups, to address many bugs that have being reported about slow unloads. Usually it's better avoid assumptions of when entries from weak maps are removed exactly, since
spec does no guarantees about it.