Do not use SessionsManager::getWindowsManager() if not needed