Various improvements, for_each_value, for_each_key, etc.