Added a mechanism for reseting the generated statistics