Takes two supplementary parameters which are the ‘path’ to the plugin and the ‘mode’ according to which the plugin is open.