         self.lenDecoder = LZMALenDecoder(&self.pointerData)
         self.repLenDecoder = LZMALenDecoder(&self.pointerData)
     }
+
+    // MARK: LZMA2 related functions.
 
     private func resetProperties() throws {
         var properties = pointerData.alignedByte()

            else { throw LZMA2Error.WrongSizes }
    }

    func decodeLZMA(_ uncompressedSize: inout Int) throws {
        // First, we need to initialize Rande Decoder.
        guard let rD = LZMARangeDecoder(&self.pointerData) else {

                    if rangeDecoder.decode(bitWithProb: &probabilities[241 + (state << LZMAConstants.numPosBitsMax) + posState]) == 0 {
                        // SHORT REP MATCH CASE
                        state = state < 7 ? 9 : 11
                        let byte = self.byte(at: rep0 + 1)
                        uncompressedSize -= 1
                        self.put(byte)
                        continue
                    }
                } else { // REP MATCH CASE
