Remove code that uses TEX. (It will get checked in elsewhere)