Added GetHash method