 
 
 // MARK: - Internal Connection functions
-extension SwiftyTeeth {
+internal extension SwiftyTeeth {
     
     // Using these internal functions, so that we can track devices 'in use'
-    internal func connect(to device: Device) {
+    func connect(to device: Device) {
         // Add device to dictionary only if it isn't there
         if connectedDevices[device.id] == nil {
             connectedDevices[device.id] = device

    }
    
    // Using these internal functions, so that we can track devices 'in use'
    internal func disconnect(from device: Device) {
        // Add device to dictionary only if it isn't there
        if connectedDevices[device.id] == nil {
            connectedDevices[device.id] = device

    }
    
    public func centralManager(_ central: CBCentralManager, didConnect peripheral: CBPeripheral) {
        print("SwiftyTeeth: centralManager: didConnect")
        connectedDevices[peripheral.identifier.uuidString]?.didConnect()
    }
    
    public func centralManager(_ central: CBCentralManager, didFailToConnect peripheral: CBPeripheral, error: Error?) {
        print("SwiftyTeeth: centralManager: didFailToConnect")
        connectedDevices[peripheral.identifier.uuidString]?.didDisconnect()
    }
    
    public func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error: Error?) {
        print("SwiftyTeeth: centralManager: didDisconnect")
        connectedDevices[peripheral.identifier.uuidString]?.didDisconnect()
    }
    
