Introduces decode_response method.