     @discardableResult public func connect(to node: AKInput) -> AKInput {
         return connect(to: node, bus: node.nextInput.bus)
     }
-    
+
     /// Add a connection to input.node on input.bus.
     ///   - Parameter input: Contains node and input bus used to make a connection.
     @discardableResult public func connect(to input: AKInputConnection) -> AKInput {
         return connect(to: input.node, bus: input.bus)
     }
-    
+
     /// Add a connection to node on a specific bus.
     @discardableResult public func connect(to node: AKInput, bus: Int) -> AKInput {
         connectionPoints.append(AVAudioConnectionPoint(node: node.inputNode, bus: bus))

        setOutput(to: nodes.map { $0.nextInput.avConnection }, format: format)
        return nodes
    }
    
    /// Sets output connections to an array of inputConnectios, removes previously existing output connections.
    ///   - Parameter toInputs: Inputs that output will be connected to.
    @discardableResult public func setOutput(toInputs: [AKInputConnection]) -> [AKInput] {
        return setOutput(toInputs: toInputs, format: AudioKit.format)
    }
    
    /// Sets output connections to an array of inputConnectios, removes previously existing output connections.
    ///   - Parameter toInputs: Inputs that output will be connected to.
    ///   - Parameter format: The format of the connections.

        connectionPoints += nodes.map { $0.nextInput }.map { $0.avConnection }
        return nodes
    }

    /// Add an output connection to each connectionPoint in toInputs.
    ///   - Parameter toInputs: Inputs that will be connected to.
    @discardableResult public func connect(toInputs: [AKInputConnection]) -> [AKInput] {
        connectionPoints += toInputs.map { $0.avConnection }
        return toInputs.map { $0.node }
    }

    /// Add an output connectionPoint.
    ///   - Parameter connectionPoint: Input that will be connected to.
    public func connect(to connectionPoint: AVAudioConnectionPoint) {
