Who did the Ming appoint titles to?