Moving response handlers to onResponse.