Clean up API contract for UI Manager and IronRouter.