Add classes for generation code.