This example demonstrates how to title groups of MenuItem instances. The Menu API also supports building a menu like this using existing markup.