Corrected xorMask types