Changed print to warnings.warn_explicit