Further implementations on saving plugins and plugin api.