Raid: reduce table look-ups
Raid: don't pass the unit to functions that do not need it