Add definition for ui, contextMenu, link, button and uiElement