Ensure node 0.6 and 0.8 compatibility