Added new function to Plugin interface.