Implementing scope and using namespace replacement.