Fix analyzer-reported issues

Against Dart v0.2.9.9 r16323