Fix support for files without namespace.