Fix namespaces and copyright.