Removed the code that was preventing get_devices from working properly.