if we can have multiple instances of the plugin because we now support custom configs, we need to use extend to preserve the original plugin details. it is not pretty though, but to change this behavior we will probably need to change locator.