Fixing load error on non-api plugins