Modified version of Nodejitsu's Haibu API.