I've now fixed the immediate problem I had. The code was originally from a quite old version of the API, and I had made most migrations tasks when going to version 22. But I had missed that one call was synchronous before, and is asynchronous now. After fixing this, the attach issue is no longer pre...