Fixed WeakDictionary stuff

Thanks Ryan