Added plot_directive and mathmpl extensions