Stat.prototype fixes