Hexagon backend clean-up effort

Hi All,

We’re in the process of cleaning up the Hexagon backend as part of our maintenance effort. We’re breaking down the changes into smaller chunks and will be sending these patches in the coming weeks for review/commit. We would appreciate your comments/feedback on any of these patches.