Alphabetize imports
Collect error declarations at top.
Implement iterating over all instances of a component.