Remove errors and some warnings to look nice in Dart Editor.