Tweaks to ValidationExceptionHandler injection.