Get rid of unneeded stuff.