Serializer.AddN now returns an error if adding any of the statements fails.