Making it compatible with Node.js 0.10.x