Fixing up the API a little bit. Created PlotFactory.