Modified the Response object to have a generic getResult() method.