I might have missed it, but there does not seem to be a validation callback when registering settings.