Wrapping code in appropriate namespaces.