monitor: Move the last static variables to module private structure.