Revert "only expose necessary menu api functions"

This reverts commit bb425e9e1e4a5557afd8a4fc66db6198ed7ae7e2.