Rearrange item handling section.
Add custom groups for ranged attacks.