Enable menu api in plugin main.