Added group beginning/ending lines.