Editor API restructure to enable easier recursive schema support.

Lots of things still broken.