Added validations.