Added data validator.