Add `spreadResolved` function