Add exception around loading plugins