Change string validator method signatures