How to change parameters or state of a stage from the scope of other stage?

How to change parameters or state of a stage from the scope of other stage?

Let say at some point while in the scope of the Stage2 I want to change some fields of the Stage1.
I can access the stage with next_stages() or previous_stages(), and hopefully change any public fields, or callbacks without any problem, correct?

What if I want to change accumulation_time_ms of the Metavision::FrameGenerationStage from the scope of the next stage? I can't find it in the public fields, just in the constructor of the stage.