Change the enroll_device method to un-used