Fix missing ``alters_data = True`` annotations.