Converting to native UIAutomation.