Fix State type.