Use PluginError instead of returning None