Some API detection changes