def ParseMultiple(self, stat_entries, knowledge_base):
    """Parse the StatEntry objects."""
    _ = knowledge_base

    for stat_entry in stat_entries:
      # TODO: `st_mode` has to be an `int`, not `StatMode`.
      if stat.S_ISDIR(int(stat_entry.st_mode)):
        homedir = stat_entry.pathspec.path
        username = os.path.basename(homedir)
        if username not in self.blacklist:
          yield rdf_client.User(username=username, homedir=homedir)