Dart library change

Update code with last library changes.