      ----------
      folder: str
          The folder to load faces from
      alignments: :class:`lib.align.Alignments`, optional
          The alignments object that contains the faces. Used to update legacy hash based faces
          for <v2.1 alignments to png header based version. Pass in ``None`` to not update legacy
          faces (raises error instead). Default: ``None``
      """
      def __init__(self, folder: str, alignments: Optional[Alignments] = None) -> None:
          self._alignments = alignments
          super().__init__(folder)
  
 
</s> remove         kwargs = {}
        if alignments.version < 2.1:
            # Update headers of faces generated with hash based alignments
            kwargs["alignments"] = alignments
        self._items = Faces(arguments.faces_dir, **kwargs)  # type:ignore  # needs TypedDict :/
 </s> add         self._items = Faces(arguments.faces_dir, alignments=alignments) </s> remove         if self._alignments is not None:  # Legacy updating
 </s> add         if is_legacy:  # Legacy updating
        The alignments object that contains the faces. This can be used for 2 purposes:
        - To update legacy hash based faces for <v2.1 alignments to png header based version.
        - When the remove-faces job is being run, when the process will only load faces that exist
        in the alignments file. Default: ``None``
      ----------
      folder: str
          The folder to load faces from
      alignments: :class:`lib.align.Alignments`, optional
        The alignments object that contains the faces. This can be used for 2 purposes:
        - To update legacy hash based faces for <v2.1 alignments to png header based version.
        - When the remove-faces job is being run, when the process will only load faces that exist
        in the alignments file. Default: ``None``
        The alignments object that contains the faces. This can be used for 2 purposes:
        - To update legacy hash based faces for <v2.1 alignments to png header based version.
        - When the remove-faces job is being run, when the process will only load faces that exist
        in the alignments file. Default: ``None``
        The alignments object that contains the faces. This can be used for 2 purposes:
        - To update legacy hash based faces for <v2.1 alignments to png header based version.
        - When the remove-faces job is being run, when the process will only load faces that exist
        in the alignments file. Default: ``None``
      """
      def __init__(self, folder: str, alignments: Optional[Alignments] = None) -> None:
          self._alignments = alignments
          super().__init__(folder)
  
keep keep keep keep replace replace replace keep keep keep keep keep
 bugfix: - Alignment tool - remove faces:
  - Only process faces that exist in alignments file 
tools/alignments/media.py