             service: services.authentication,
             router: router
         )
-        
-        guard let appWindow = UIApplication.shared.delegate?.window,
-              let window = appWindow else { fatalError() }
         
         let contentWireframe = WindowContentWireframe(window: window)
         let modalWireframe = WindowModalWireframe(window: window)

            .with(UIKitMapCoordinateRender())
            .with(UpdateRemoteConfigRefreshCollaboration(remoteConfigurationLoader: remoteConfigurationLoader))
            .build()

        services = session.services
        
        backgroundFetcher = BackgroundFetchService(refreshService: services.refresh)
        
        // TODO: Source from preferences/Firebase
        let upcomingEventReminderInterval: TimeInterval = 900

        
        _ = PrincipalWindowSceneController(sessionState: services.sessionState, scene: principalWindowScene)
    }
    
}
