Replaces deprecated request object by leviathan request.