Rearrange createRes params for more node-iness.