Add WindowStateManager.