Compatibility with node 0.6.x