Fix from_response method