Make `coerce-custom-type-id` private