Class PlotType --> PlotOptions.
Fix incorrect serialization of plot options.