Remove use of deprecator isMappingType
2to3