changed $object reference to $item (to match Walker_Nav_Menu)