[plugin] refactoring

Version imprimable