[CS] Clean up namespace creation from attribute