This doesn't look right. XE should have a single UI module. It shouldn't know about workspaces, in the same way as it doesn't know about activitystream or other modules providing a UI...