         #endif
     }
 
-    #if os(iOS)
-    var isNotMediaControlElement: Bool {
-        return !(self is MediaControl.Element)
-    }
-
-    var isNotOverlayPlugin: Bool {
-        return !(self is OverlayPlugin)
-    }
-    #endif
-
     func safeDestroy() {
         do {
             try ObjC.catchException {


    #if os(iOS)
    private func renderCorePlugins() {
        plugins
            .filter { $0.isNotMediaControlElement }
            .filter { $0.isNotOverlayPlugin}
            .forEach(render)
    }

    private func renderMediaControlElements() {

        parentView.addSubviewMatchingConstraints(view)
    
        layerComposer.attachContainer(containerView)
        layerComposer.compose(inside: view)
        
        self.parentController = controller
        self.parentView = parentView
    
        trigger(.didAttachView)
    }
    
    open override func render() {
