Setting up code generation scaffold.