Added Device.connect and disconnect