Fixed bug with PluginBaseException.