Miguel/plugin refactor

Is this the only place we use `utils.mixin`? If it is, we might want to replace `utils.mixin` with LoDash's [`_.merge`](https://lodash.com/docs#merge).