Allow `targetQueue` to be undefined.