Reverted the behavior of the deprecated HashCodeAndEquals creator.

Done for the purpose of backward compatibility.