 		:name:	isFocusModeSupported
 	*/
 	public func isFocusModeSupported(focusMode: AVCaptureFocusMode) -> Bool {
-		return videoDevice.isFocusModeSupported(focusMode)
+		return activeVideoInput!.device.isFocusModeSupported(focusMode)
 	}
 	
 	/**
 		:name:	isExposureModeSupported
 	*/
 	public func isExposureModeSupported(exposureMode: AVCaptureExposureMode) -> Bool {
-		return videoDevice.isExposureModeSupported(exposureMode)
+		return activeVideoInput!.device.isExposureModeSupported(exposureMode)
 	}
 	
 	//

	//
	private func prepareAudioInput() {
		do {
			activeAudioInput = try AVCaptureDeviceInput(device: audioDevice)
			if session.canAddInput(activeAudioInput) {
				session.addInput(activeAudioInput)
			}

	}
	
	/**
		:name:	cameraSupportsTapToFocus
	*/
	public var cameraSupportsTapToFocus: Bool {
		return true
	}
	
	/**
		:name:	focusMode
	*/
	public var focusMode: AVCaptureFocusMode {
		get {
			return activeCamera!.focusMode
		}
		set(value) {
			var error: NSError?
			if isFocusModeSupported(focusMode) {
				do {
					let device: AVCaptureDevice = activeCamera!
					try device.lockForConfiguration()
					device.focusMode = focusMode
					device.unlockForConfiguration()
				} catch let e as NSError {
					error = e
				}
			} else {
				error = NSError(domain: "[MaterialKit Error: Unsupported focusMode.]", code: 0, userInfo: nil)
			}
			if let e: NSError = error {
