Menu parsing and attached to UI.