Fixing to work with latest hapi version