Add a way to manage plugins and dispatch messages