          logger.trace("mask shape: %s", mask.shape)  # type: ignore
          return mask
  
      @property
      def stored_mask(self):
          """ :class:`numpy.ndarray`: The mask at the size of :attr:`stored_size` as it is stored
          (i.e. with no blurring/centering applied). """
          dims = (self.stored_size, self.stored_size, 1)
          mask = np.frombuffer(decompress(self._mask), dtype="uint8").reshape(dims)
          logger.trace("stored mask shape: %s", mask.shape)
 
</s> remove         logger.trace("stored mask shape: %s", mask.shape)
 </s> add         logger.trace("stored mask shape: %s", mask.shape)  # type: ignore </s> remove     def original_roi(self):
 </s> add     def original_roi(self) -> np.ndarray: </s> remove     def mask(self):
        """ numpy.ndarray: The mask at the size of :attr:`stored_size` with any requested blurring,
        threshold amount and centering applied."""
 </s> add     def mask(self) -> np.ndarray:
        """ :class:`numpy.ndarray`: The mask at the size of :attr:`stored_size` with any requested
        blurring, threshold amount and centering applied.""" </s> remove         logger.trace("Initialized: %s", self.__class__.__name__)
 </s> add         logger.trace("Initialized: %s", self.__class__.__name__)  # type: ignore
    def stored_mask(self) -> np.ndarray:
          logger.trace("mask shape: %s", mask.shape)  # type: ignore
          return mask
  
      @property
    def stored_mask(self) -> np.ndarray:
          """ :class:`numpy.ndarray`: The mask at the size of :attr:`stored_size` as it is stored
          (i.e. with no blurring/centering applied). """
          dims = (self.stored_size, self.stored_size, 1)
          mask = np.frombuffer(decompress(self._mask), dtype="uint8").reshape(dims)
          logger.trace("stored mask shape: %s", mask.shape)
keep keep keep keep replace keep keep keep keep keep
 lib.align updates:
  - alignments.py
    - Add typed dicts for imported alignments
    - Explicitly check for presence of thumb value in alignments dict
    - linting
  - detected_face.py
    - Typing
    - Linting
    - Legacy support for pre-aligned face
    - Update dependencies to new property names 
lib/align/detected_face.py