Expanded C code.