Improved deprecation message for Config.