A small change to allow reseting of metrics