1.0: Implement T78 and fix up a few small bugs in the process.