Fix plugin requires and add to resourceGenerators