Added support for implicit `$eq` and tests.