code: def prepare(self, context):
      
      for stream_id, targets in self.targets.items():
        for target in targets:
          target.prepare(context, stream_id)
docs: Prepares the custom grouping for this component