we dont need collect namespaces for extensions or extensions for namespaces