Subnamespacing in generated code