Note: Ideally there would be an easy way to do this per `namespace {}` block, and implicitly create such a block for files that don't have one. That way it could also be fixed for classes and my example above would no longer fail. But I fear it would be quite a big change, and I'm not sure how exactly to do it.