Added validation class.