There's some contention that there's not enough thickness at the muzzle to thread it (at least at the fairly standard 5/8-24).

There are birdcage flash hiders for 30 caliber projectiles like those on the M4, plus a whole slew of aftermarket brakes and flash hiders depending on the thread size you go with.