Refactoring out the ExtNamespace class