Changing the Hash type to use ByteStrings internally