Changed how stats are stored and accessed.