Clean up.

* Refactor HeaderControllerWidget#getWidgetItems().

* Remove unused imports.