Refactored for Hapi 6.0.0
formatting