optimizing AnnotationsBag::useNamespace