Update validators to check against unicode type instead of str