avoid nesting of sources for generated code