Automatically remove deprecated preserve-inputs