     }
 
     private func renderMediaControlElements() {
-        mediaControlPlugin?.renderElements(mediaControlElements)
-    }
-
-    private func isNotMediaControlPlugin(_ plugin: Plugin) -> Bool {
+        mediaControl?.renderElements(mediaControlElements)
+    }
+
+    private func isNotMediaControlElement(_ plugin: Plugin) -> Bool {
         return !(plugin is MediaControl.Element)
     }
     #endif

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

        trigger(Event.willDestroy.rawValue)

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

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

        Logger.logDebug("destroying plugins", scope: "Core")
        plugins.forEach { plugin in
            do {
                try ObjC.catchException {
                    plugin.destroy()
                }
            } catch {
                Logger.logError("\((plugin as Plugin).pluginName) crashed during destroy (\(error.localizedDescription))", scope: "Core")
            }
        }
        plugins.removeAll()

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

    open func attach(to parentView: UIView, controller: UIViewController) {
        self.parentController = controller
        self.parentView = parentView
        trigger(.didAttachView)
    }

    open override func render() {
