Remove also the mdata function because it isn't used anymore