Some notes on rewriting getEquipmentRoots.