Added a class to allow polling plugins.