Make things run on more recent releases of Matlab.