Remove some dead code

The changes here (and those below) seem unrelated to removing dead code? Could they be separated out in at least commits if not PRs? I'm not personally super familiar with trans and it would be useful to have a clear distinction in the commits of what's doing what.