Removed the state decoder as it isn't used at all.