Use code generation for ztimeout.