Fix for node 0.10 compatibility.