Support HashDict in comparison.
Closes #54