Add support for hashing streams.