Accommodate new flatten_dictionary.