Migrated code to support Dartb SDK 1.0.0.10_r30798.