Update for Dart 1.0.