Simplify APIs to provide more options for menu item