Combined version of https://github.com/promised-io/node