Port docinfo to new menu api