Added support for ConfigurationManager.