Trim unused stuff.