Didn't work in newer versions of Dart