Case conversion for compare.
Vectorize compare.
Update base class.