Basic stats collecting.