--Fix to support hook_civicrm_caseTypes