Added posibility for the menu to have separator.