Added support for Hapi.js