What's the purpose of this? `$plugin` doesn't seem to be used here forth.