compatibility with dart sdk 0.6.9