Add support for equalityComparer.