Added a callback dispatcher class to manage plugin actions.