The description of the callback function should include the `parentId` and `index` parameters, and what the different values mean. For example, `parentId` is NULL when the command is a top-level menu.