Add filter to ignore deprecation warnings by default