          self.h = alignment["h"]
          landmarks = alignment["landmarks_xy"]
          if not isinstance(landmarks, np.ndarray):
              landmarks = np.array(landmarks, dtype="float32")
          self.landmarks_xy = landmarks.copy()
  
          if with_thumb:
              # Thumbnails currently only used for manual tool. Default to None
              self.thumbnail = alignment.get("thumb", None)
          # Manual tool and legacy alignments will not have a mask
 
</s> remove             self.thumbnail = alignment.get("thumb", None)
 </s> add             self.thumbnail = alignment.get("thumb") </s> remove         self.aligned = None
 </s> add         self._aligned = None </s> remove         self.x = alignment["x"]
        self.w = alignment["w"]
        self.y = alignment["y"]
        self.h = alignment["h"]
 </s> add         self.left = alignment["x"]
        self.width = alignment["w"]
        self.top = alignment["y"]
        self.height = alignment["h"] </s> remove             self.mask = dict()
 </s> add             self.mask = {} </s> remove             face.landmarks_xy = landmarks
 </s> add             face._landmarks_xy = landmarks
        self._landmarks_xy = landmarks.copy()
          self.h = alignment["h"]
          landmarks = alignment["landmarks_xy"]
          if not isinstance(landmarks, np.ndarray):
              landmarks = np.array(landmarks, dtype="float32")
        self._landmarks_xy = landmarks.copy()
  
          if with_thumb:
              # Thumbnails currently only used for manual tool. Default to None
              self.thumbnail = alignment.get("thumb", None)
          # Manual tool and legacy alignments will not have a mask
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