Deletes some unused stuff.