Updated to latest BasePlugin.