Added more arguments to the plugin interface