Refectored cgen let form.