Fix error with hapi 7.0