• Extract occurrences
  • Extract classes and hashmap them with their roles