Actually I think the plugin should manage all that itself - so will add a constructor for this...