MEDM cleanup and added adl for range tables