Rasa 3 NLU Pipeline Custom Component

would like some help building a custom component into my NLU pipeline. Specifically, I am trying to pre-process user messages before extracting entities, more specifically I am attempting to apply spell check and case-correction in order to improve the correctness of my entity extractor. However, while I am able to train my model successfully, when I run my application I get the message:

rasa.core.agent - Could not load model due to Error deserializing graph schema. Can’t find class for graph component type