Added target option and element classes for menu items