         fileprivate init(handle: UInt16,
                          uuid: BluetoothUUID,
                          value: Data = Data(),
-                         permissions: BitMaskOptionSet<Permission> = []) {
+                         permissions: BitMaskOptionSet<GATT.Permission> = []) {
             
             self.handle = handle
             self.uuid = uuid

    ///- Note: For use with `GATTDatabase` only.
    internal struct AttributeGroup {
        
        var attributes: [Attribute] {
            
            willSet {
                
                assert(attributes.count == newValue.count, "Cannot modify Service structure")
            }
        }
        
        var startHandle: UInt16 {
            

    }
    
    /// Clear the database.
    @available(*, unavailable, renamed: "removeAll")
    public mutating func clear() {
        
        print("Using deprecated method \(#function)")
        self.removeAll()
    }
    
    /// Clear the database.
    public mutating func removeAll() {
        
        self.attributeGroups = []
    }
