Refactoring to support validating child configs