Conditionally add "Public API" and "Full API" if there are API fns.

If there aren't API fns, then only "API" is added in the menu.