TextValidator base is made.