change in ggplot gives 2 classes to plot objects.