Get rid of the unused function nameForCursorType()