Added ModelEntityState enum.