Updated to run with latest Dart.
Tested successfully in 0.5.9.0_r22879