There was a problem when pickling TypedImaginaryUnit since it was using the getnewargs of TypedSymbol.