Fixes to support mirror changes in Dart 0.8.7.