Make c hook local