replaced reviveWithMembers() with autoReviveMembers property