The alternative as suggested by @ab_trader is to subclass the indicator and then do what you did with the dictionary assignment in the class declaration.

It is obviously a more permanent solution.