Add function isNew to Abstract_base_model, update toArray()