Decided to take the array population outside of the anonymous class to try to figure out what was wrong. Figured it out: was always pushing an empty list of page resources. Does this fix scaffolding?