Fix plugin bootstrapping