Removed redundant hash functions