Merge "Refine random stats generation."