Add minimal config validation.