Add proper support for files without namespace.