Infrastructure Enhancement

* Utilities: Improve the hash computing class against non-const pointer.