Added namespaces and license headers.