Moved ML to be part of the numerics structure