use preferred name in API 8 and later