Adding plots and functions to gen. plots.