Fix ContextMenu API docs snippets