Automatically enumerate groups for docurium output.