Rewrite queries for language extensions that aren't in pg_pltemplate. Fix #84.