Remove hacky catching for "typeAt" pass, touch up.

This maintains the "typeAt" pass interface, but cleans up the Tern side.