Add support for portable hashes.