Add the ability to deprecate config values as well as keys.