Added a stats engine.