Add defines for underlying handle types.