Refactored the way $request was handed to `getResponse()` method. (Ref #8)