Should probably get it from $response->code?