Add disconnect and connect methods for the device and connection