Typedef hook routines.