Remove unneeded stuff.