Added support of the new plotting library.