Implemented namespaces and namespace stacks