Corrected plugin-base-gen tool.