Refactoring and simplification of `cs\Config` method.