Add casting and nsurlresponse macros