Adding stats for errors, I hope.