Stop passing references to things that may disappear when a metric section is replaced.