Added missing hasCameraKey variable