Common utilities for C and Obj-C.