Dependencies upgrade, removed `new` in error throwing