JPM: now also works with weightless 0.9.x