Changed CTString comparison functions for type safety.