Dart update introduced some type warnings