Automatic wiring of the Stats object.