Firm up the linkage between device and component, and clean up better if one or the other is deleted.
Fix documentation and interface on getRegions.
Fix plugin changing code.