Since uniqueness of receipts is determined per type and per thread it's common to use them as keys of a map.