stubs: use static code analysis to decide whether to include a child module in a parent module's namespace