0005031: Function 'getVendorTree' is missing: code cleanup