Update validation to use newer text utils library.