Adding in generated code