Removes menu reference from the metadata