Fix parser errors in Dart 1.0