Removed unused state model code