Expose constructor so that we can extend the plugin.