- Made `toS` in `WeakSet<T>` properly respect thread affinity of its elements. - Added `capacity` to `Map<K, V>` and `Set<T>`. Previously it was only available for `WeakSet<T>`. - Fixed a bug that caused updates of class relations to be missed if hash collisions existed.