Rename req to cmd.