For some complex configurations, it would be helpful to allow a Config to appear multiple times when defining a Method in dist/api_data.py.
We partially deal with this in api_config.py by sorting the config and eliminating duplicates in one place where the config is used, but it would be simpler and more consistent to do that in Method._init_.