Remove unused code to validate configuration