Allow passage of custom useTransformTypes