Lost cmdtype in add.