Made first_ and group_n more awesome.