Add COMPARE, HASH-CODE, aliases, tests.