Plugins system complete rework