Basic infrastracture for connecting/disconnecting...