Improved WeakMap shim
1.0.1