Validating config.