Provide more data on the scope.

@incuna/js please
This was to avoid a breaking change, generally it'll be a string but there have been cases in the past where I've had to handle an array containing a single string.