Added isInserted on entities