Added support to disable/hide menu items.