Validator class was added.