Adds stats and better comments.