Add the custom exception classes.
Add improve the validation model.