Little bit of refactoring in multilayer config classes