Updated for Node 0.10