Extracted part of a configuration loading to ConfigurationManager.