Move validations to deprecations module