Tore out a bunch of old code.