plugins: redo the plugin config loading, with doc.