Added the resetLastResponse() method