Remove static variables from ctb_translate. (dm)