add pluginCallback option for #21