I think this is the same problem as this thread
The conclusion we came to is that the public API just can’t do that