The `expand` payload and method were added to `spatie/ray` in [this PR](https://github.com/spatie/ray/pull/843).