NAICS codes now return index entries. Code is not that clean, but it does a job.