Adding MenuApi functions wip.