Remove a bunch of unneeded stuff.