 
         willSet {
             activeContainer?.stopListening()
-            trigger(Event.willChangeActiveContainer.rawValue)
+            trigger(.willChangeActiveContainer)
         }
 
         didSet {
-            activeContainer?.on(
-            Event.willChangePlayback.rawValue) { [weak self] (info: EventUserInfo) in
+            activeContainer?.on(Event.willChangePlayback.rawValue) { [weak self] info in
                 self?.trigger(Event.willChangeActivePlayback.rawValue, userInfo: info)
             }
 
-            activeContainer?.on(
-            Event.didChangePlayback.rawValue) { [weak self] (info: EventUserInfo) in
+            activeContainer?.on(Event.didChangePlayback.rawValue) { [weak self] info in
                 self?.trigger(Event.didChangeActivePlayback.rawValue, userInfo: info)
             }
-            trigger(Event.didChangeActiveContainer.rawValue)
+
+            trigger(.didChangeActiveContainer)
         }
     }
 

        #endif
        view.removeFromSuperview()

        trigger(Event.didDestroy.rawValue)
    }
}

    @objc open func destroy() {
        Logger.logDebug("destroying", scope: "Core")

        trigger(.willDestroy)

        Logger.logDebug("destroying listeners", scope: "Core")
        stopListening()

        Logger.logDebug("destroying containers", scope: "Core")
        containers.forEach { $0.destroy() }
        containers.removeAll()

        Logger.logDebug("destroying plugins", scope: "Core")
        plugins.forEach(safeDestroy)
        plugins.removeAll()

        Logger.logDebug("destroyed", scope: "Core")
