Adding patition flag data to object and menu