Added response code to callback methods.