Eliminate unused state stuff.