Fixing a few bugs.
Extract resource registration into its own class.
Remove some inspector classes. Should be a package.
Tweak a method.