add missing TemplateHaskell names to the name cache