Move callback_mask_t to implementation files