Pares out some unneeded stuff.