Replaced deprecated class TimedStat with TimeStat