Validation class added.