emit 'undocumented' class entry for files with no pragmas
slight refactor