Fix dead code on xdr callbacks