v4.0.0 make it compatible with hapi 4.0.x