Update CreateMenuItemFromNodeEvent to include skipNode property for
determining whether a node should not be included.