uimanager depreciated.