Fix all flow errors.