Fix plugin dependencies.