Split code into separate namespaces.