     public func compatibleDetectionMetadata() -> [CameraEngineCaptureOutputDetection] {
         return CameraEngineCaptureOutputDetection.availableDetection()
     }
-
+    
     private func configureFlash(mode: AVCaptureFlashMode) {
         if let currentDevice = self.cameraDevice.currentDevice where currentDevice.flashAvailable && currentDevice.flashMode != mode {
             do {

            self.cameraMetadata.blockCompletionFaceDetection = self.blockCompletionFaceDetection
        }
    }

    public var blockCompletionCodeDetection: blockCompletionDetectionCode? {
        didSet {
            self.cameraMetadata.blockCompletionCodeDetection = self.blockCompletionCodeDetection

    private var sessionQueue: dispatch_queue_t! = {
        dispatch_queue_create(cameraEngineSessionQueueIdentifier, DISPATCH_QUEUE_SERIAL)
    }()
    
    private var _torchMode: AVCaptureTorchMode = .Off
    public var torchMode: AVCaptureTorchMode! {
        get {
