/**
  * Run after a stream has been deleted.
  *
  * @param StreamInterface $model
  */
 public function deleted(StreamInterface $model)
 {
     $model->compile();
     $model->flushCache();
     $this->dispatch(new DropStreamsEntryTable($model));
     $this->dispatch(new DeleteStreamEntryModels($model));
     $this->dispatch(new DeleteStreamAssignments($model));
     $this->dispatch(new DeleteStreamTranslations($model));
     $this->events->fire(new StreamWasDeleted($model));
 }