} else if (request instanceof InsertRequest) {
response = new InsertResponse(status, cas, bucket, content, request);
} else if (request instanceof UpsertRequest) {
response = new UpsertResponse(status, cas, bucket, content, request);
} else if (request instanceof ReplaceRequest) {
response = new ReplaceResponse(status, cas, bucket, content, request);
} else if (request instanceof RemoveRequest) {
response = new RemoveResponse(status, bucket, content, request);
} else if (request instanceof CounterRequest) {
response = new CounterResponse(status, bucket, msg.content().readLong(), cas, request);
} else if (request instanceof UnlockRequest) {