Fix several typing bugs in forwarder client.