Fix broken 'setResponse()' method