WIP: Put cockpit-main into $cockpit scope.