Added plugin mechanism to add data event handlers