Remove CodeGenerator API

__MERGE ONLY IN CONCERT WITH THE OTHER 3.0.0 BRANCHES.__

It was an early exploratory attempt at code generation, and not
currently in use by the system anywhere. It will be done differently.