Fix for plugin not finding BarAPI