Remove some unneeded stuff.