Added hashing methods