This has to go in memory since it will reference a Python object and we can't store it in Redis. One thing we could try to do is not instantiate the handler when it's being registered, rather store its path and then dynamically import it when it's used for the first time.