Add Dsgen0 (in process of being translated from C).