BloomFilter: make generic