CHANGED: made Models serializable