Suppressing deprecation warnings.