Moving GeneratorBase to /lib.