This approach doesn't scale well, and the right solution is to move this code to the proper namespace anyway.