Migrate core.ui.inspector to Scala 2.11. Refactoring