make remove_key work with ints like operator()