Change the roots struct into a flat array.

Seriously, being able to localize this to a single file is a thing of beauty.

[#57450392]