should we fail if `pluginClassName` is `null` and throw a more descriptive error message?