v0.40.0: Added Validations.raise_on_invalid_value. Moved all validations into same module.