Allow passing data-properties to menu items.