Borrow from olov/node-harmony-wrapper.