Added a function to create "namespaces".