Eliminate spurious class creation in regextract call.