Implemented hashing mechanism that normalizes the constant pool.