def unload(self): CogHQExterior.unload(self) for train in self.trains: train.delete() self.trains = None