Add method to generated code
Use scope project instead
Adapt templates to the scope project