Removes old references to TypeCompare