Fix config class for validation