Make the plotting of models external.