How to "correct" misspelled user text?

I have created a custom component, which is first in my NLU pipeline. My intention is that it will parse every user message for misspellings, and replace the user text with the corrected text if misspellings are found. I initially thought I might be able to achieve this by editing the Message object, which is passed as an argument to the process method of the Component class. However, it seems that the actual text of the user message is not saved in this Message object.

I would like to know if it is possible to “edit” the user message text, so that only the edited text will pass through the subsequent stages of the NLU pipeline.

I access the text using the message object in the custom component like this message.get(TEXT)