Added ability to make plots.