Add support for calculating caps hashes