Revert "Move WeakReferenceComparer"

This reverts commit e052d1d9aab3243383e0d0a309c7d3d608676c24.
Move WeakReferenceComparer