Updated uiFactory spec