Remove deprecation warnings by calling the appropriate functions