It would be very useful to have access to queryParams in the toUrl function when building custom plugins. We are building a plugin that uses personalization that usually we include as queryParams so that users can change their state in the UI to test personalization. Currently there isnt any way to access the queryParams in either to toUrl function or the appState object, which would be very helpful indeed !