Fix Passenger 4 deprecations.