Adapt to new Isolates API