The changes here are essentially repeated in the next several files. The new matching method is used, and the logic for which exception to raise is re-ordered for brevity. There is no need to explicitly create the 'response' local variable as the return value of the begin-rescue-end block is the return value for the method.