Making Int{Map,Set} polymorphic over the key type