Instead of using the `isolated P` syntax, switch to specifying the global actor type directly, e.g., class MyClass: @MainActor MyProto { ... } No functionality change at this point