Get rid of extraneous stuff.