Added State class.